<?php
/**
 * Created by IntelliJ IDEA.
 * User: keke
 * Date: 18-10-17
 * Time: 下午4:18
 */

define("hostname","localhost");
define("username","root");
define("passwd","root");
define("databasename","cxcyfwpt");
define("filepath","../document/");
define("maxSize","10485760");

$conn = new mysqli(hostname, username, passwd, databasename);
if (!$conn)
{
    exit(jsoncall(-1,"数据库连接失败"));
}
